//
//  ByModelShopsList.m
//  chequanbao_ios
//
//  Created by pro on 2017/6/16.
//  Copyright © 2017年 com.itboye. All rights reserved.
//

#import "ByModelShopsList.h"

@implementation ByModelShopsList

- (void)setAttributes:(NSDictionary *)jsonDic {
    
    [super setAttributes:jsonDic];
    
    NSMutableArray *temp = [NSMutableArray new];
    [self.list enumerateObjectsUsingBlock:^(NSDictionary *dic, NSUInteger idx, BOOL * _Nonnull stop) {
        
        ByModelShopsListItem *model = [[ByModelShopsListItem alloc] initContentWithDic:dic];
        [temp addObject:model];
    }];
    
    self.list = temp.copy;
}

@end
